{{ if isset .Params "series" }}
{{$related := where .Site.RegularPages ".Params.series" "eq" .Params.series }}
  <h2 class="post_related">{{ T "series_posts" }}</h2>
  <ul>
    {{ range sort $related "Date" }}
    <li><a href="{{ .Permalink }}" class="nav-link" title="{{ .Title }}">{{ .Title }}</a></li>
    {{ end }}
  </ul>
{{ end }}
